<template>
  <div>
    <h3>爷爷传过来的数据： {{ grandpaMsg }}</h3>
  </div>
</template>

<script>
export default {
  name: 'SunChild',
  inject: ['grandpaMsg']
}
</script>

<style lang="scss" scoped></style>
